<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.2-20121118"/>
<title>SensorFramework: saxion.sensorframework.SensorValidator Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">SensorFramework
   &#160;<span id="projectnumber">1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2-20121118 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="a00031.html">saxion</a></li><li class="navelem"><a class="el" href="a00032.html">sensorframework</a></li><li class="navelem"><a class="el" href="a00010.html">SensorValidator</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pac-static-attribs">Static Package Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="a00047.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">saxion.sensorframework.SensorValidator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Validates data.  
 <a href="a00010.html#details">More...</a></p>
<div class="dynheader">
Collaboration diagram for saxion.sensorframework.SensorValidator:</div>
<div class="dyncontent">
<div class="center"><img src="a00048.png" border="0" usemap="#saxion_8sensorframework_8_sensor_validator_coll__map" alt="Collaboration graph"/></div>
<map name="saxion_8sensorframework_8_sensor_validator_coll__map" id="saxion_8sensorframework_8_sensor_validator_coll__map">
<area shape="rect" title=" ~logger" alt="" coords="68,81,76,89"/><area shape="rect" title=" ~logger" alt="" coords="84,145,92,153"/><area shape="rect" title=" &#45;properties" alt="" coords="143,81,151,89"/><area shape="rect" title=" &#45;properties" alt="" coords="125,145,133,153"/></map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00014.html">ValidatorErrorHandler</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Error handler for comparing xsd to xml document.  <a href="a00014.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1f97af8c3ed497a0b45c0349a31d348a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#a1f97af8c3ed497a0b45c0349a31d348a">SensorValidator</a> (Properties <a class="el" href="a00010.html#a352e23d504246e34115ae11f4caeefdc">properties</a>)</td></tr>
<tr class="memdesc:a1f97af8c3ed497a0b45c0349a31d348a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate Senorvalues.  <a href="#a1f97af8c3ed497a0b45c0349a31d348a"></a><br/></td></tr>
<tr class="separator:a1f97af8c3ed497a0b45c0349a31d348a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b5819344f18c4e4c0d6c9452680352f"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#a3b5819344f18c4e4c0d6c9452680352f">validateSensorXML</a> (String xml)</td></tr>
<tr class="memdesc:a3b5819344f18c4e4c0d6c9452680352f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate xml with sensor data.  <a href="#a3b5819344f18c4e4c0d6c9452680352f"></a><br/></td></tr>
<tr class="separator:a3b5819344f18c4e4c0d6c9452680352f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pac-static-attribs"></a>
Static Package Attributes</h2></td></tr>
<tr class="memitem:a0d2368a7b69f0915f28367f0b4feac27"><td class="memItemLeft" align="right" valign="top">static Logger&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#a0d2368a7b69f0915f28367f0b4feac27">logger</a> = Logger.getLogger(SensorValidator.class.getName())</td></tr>
<tr class="memdesc:a0d2368a7b69f0915f28367f0b4feac27"><td class="mdescLeft">&#160;</td><td class="mdescRight">logger  <a href="#a0d2368a7b69f0915f28367f0b4feac27"></a><br/></td></tr>
<tr class="separator:a0d2368a7b69f0915f28367f0b4feac27"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a8bae48f83425e1a35d0beff03c64f70c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#a8bae48f83425e1a35d0beff03c64f70c">initialize</a> ()</td></tr>
<tr class="memdesc:a8bae48f83425e1a35d0beff03c64f70c"><td class="mdescLeft">&#160;</td><td class="mdescRight">initialize variables  <a href="#a8bae48f83425e1a35d0beff03c64f70c"></a><br/></td></tr>
<tr class="separator:a8bae48f83425e1a35d0beff03c64f70c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a352e23d504246e34115ae11f4caeefdc"><td class="memItemLeft" align="right" valign="top">Properties&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#a352e23d504246e34115ae11f4caeefdc">properties</a></td></tr>
<tr class="memdesc:a352e23d504246e34115ae11f4caeefdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Properties file.  <a href="#a352e23d504246e34115ae11f4caeefdc"></a><br/></td></tr>
<tr class="separator:a352e23d504246e34115ae11f4caeefdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b6d19a306b0847ece20efdf8e914a7c"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00010.html#a4b6d19a306b0847ece20efdf8e914a7c">xsdSensorLocation</a></td></tr>
<tr class="memdesc:a4b6d19a306b0847ece20efdf8e914a7c"><td class="mdescLeft">&#160;</td><td class="mdescRight">location of sensor xsd  <a href="#a4b6d19a306b0847ece20efdf8e914a7c"></a><br/></td></tr>
<tr class="separator:a4b6d19a306b0847ece20efdf8e914a7c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Validates data. </p>
<dl class="section author"><dt>Author</dt><dd>Erik &amp; Martijn </dd></dl>

<p>Definition at line <a class="el" href="a00021_source.html#l00021">21</a> of file <a class="el" href="a00021_source.html">SensorValidator.java</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a1f97af8c3ed497a0b45c0349a31d348a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">saxion.sensorframework.SensorValidator.SensorValidator </td>
          <td>(</td>
          <td class="paramtype">Properties&#160;</td>
          <td class="paramname"><em>properties</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Validate Senorvalues. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">properties</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#aac1ff53e11fae2bfd0192afe1bd2c5fd" title="Properties file.">SensorFramework::properties</a> </dd></dl>

<p>Definition at line <a class="el" href="a00021_source.html#l00034">34</a> of file <a class="el" href="a00021_source.html">SensorValidator.java</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00010_a1f97af8c3ed497a0b45c0349a31d348a_cgraph.png" border="0" usemap="#a00010_a1f97af8c3ed497a0b45c0349a31d348a_cgraph" alt=""/></div>
<map name="a00010_a1f97af8c3ed497a0b45c0349a31d348a_cgraph" id="a00010_a1f97af8c3ed497a0b45c0349a31d348a_cgraph">
<area shape="rect" href="a00010.html#a8bae48f83425e1a35d0beff03c64f70c" title="initialize variables" alt="" coords="268,5,479,48"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8bae48f83425e1a35d0beff03c64f70c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void saxion.sensorframework.SensorValidator.initialize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>initialize variables </p>
<p>set XSD location for sensor </p>

<p>Definition at line <a class="el" href="a00021_source.html#l00045">45</a> of file <a class="el" href="a00021_source.html">SensorValidator.java</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00010_a8bae48f83425e1a35d0beff03c64f70c_icgraph.png" border="0" usemap="#a00010_a8bae48f83425e1a35d0beff03c64f70c_icgraph" alt=""/></div>
<map name="a00010_a8bae48f83425e1a35d0beff03c64f70c_icgraph" id="a00010_a8bae48f83425e1a35d0beff03c64f70c_icgraph">
<area shape="rect" href="a00010.html#a1f97af8c3ed497a0b45c0349a31d348a" title="Validate Senorvalues." alt="" coords="268,5,479,48"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3b5819344f18c4e4c0d6c9452680352f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean saxion.sensorframework.SensorValidator.validateSensorXML </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>xml</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Validate xml with sensor data. </p>
<p>Validate given xml document by comparing it to the xsd for a senor xml document.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xml</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if no error false with errors </dd></dl>

<p>Definition at line <a class="el" href="a00021_source.html#l00058">58</a> of file <a class="el" href="a00021_source.html">SensorValidator.java</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="a00010_a3b5819344f18c4e4c0d6c9452680352f_icgraph.png" border="0" usemap="#a00010_a3b5819344f18c4e4c0d6c9452680352f_icgraph" alt=""/></div>
<map name="a00010_a3b5819344f18c4e4c0d6c9452680352f_icgraph" id="a00010_a3b5819344f18c4e4c0d6c9452680352f_icgraph">
<area shape="rect" href="a00011.html#ad8754fda51b1d368982844746d4c7e3d" title="Register Sensor." alt="" coords="268,5,492,48"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a0d2368a7b69f0915f28367f0b4feac27"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Logger saxion.sensorframework.SensorValidator.logger = Logger.getLogger(SensorValidator.class.getName())</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">package</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>logger </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#a42d5b539b22c0fca51cc3a1842d83e03" title="log4j used for logging.">SensorFramework::logger</a> </dd></dl>

<p>Definition at line <a class="el" href="a00021_source.html#l00023">23</a> of file <a class="el" href="a00021_source.html">SensorValidator.java</a>.</p>

</div>
</div>
<a class="anchor" id="a352e23d504246e34115ae11f4caeefdc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Properties saxion.sensorframework.SensorValidator.properties</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Properties file. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="a00007.html#aac1ff53e11fae2bfd0192afe1bd2c5fd" title="Properties file.">SensorFramework::properties</a> </dd></dl>

<p>Definition at line <a class="el" href="a00021_source.html#l00024">24</a> of file <a class="el" href="a00021_source.html">SensorValidator.java</a>.</p>

</div>
</div>
<a class="anchor" id="a4b6d19a306b0847ece20efdf8e914a7c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String saxion.sensorframework.SensorValidator.xsdSensorLocation</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>location of sensor xsd </p>

<p>Definition at line <a class="el" href="a00021_source.html#l00026">26</a> of file <a class="el" href="a00021_source.html">SensorValidator.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/saxion/sensorframework/<a class="el" href="a00021_source.html">SensorValidator.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Feb 1 2013 11:25:01 for SensorFramework by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.2-20121118
</small></address>
</body>
</html>
